package com.hutao.medical.mapper.audit;

import java.util.List;
import java.util.Map;

import com.hutao.medical.pojo.dto.MedicalSearchQuery;
import com.hutao.medical.query.AuditQuery;
import com.hutao.medical.query.MedRecordQuery;


public interface MedicalRecordAuditMapper {

	
	/**
	 * 根据条件检索病案查询信息
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String,Object>> selectMedicalRecordRetrievaList(MedicalSearchQuery medicalSearchQuery);
	
	List<Map<String,Object>> exportMedRecordInfoToExcel(MedicalSearchQuery medicalSearchQuery);
	
	/**
	 * 查询病案数量
	 * @param medicalSearchQuery
	 * @return
	 */
	int selectMedicalRecordRetrievaCount(MedicalSearchQuery medicalSearchQuery);
	
	/**
	 * 查询主要诊断审核
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String,Object>> getMainDieaseAudit(MedicalSearchQuery medicalSearchQuery);
	/**
	 * 导出主要诊断审核
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String,Object>> exportMainAuditToExcel(MedicalSearchQuery medicalSearchQuery);
	/**
	 * 查询主要诊断审核总数量
	 * @param medicalSearchQuery
	 * @return
	 */
	int getMainDieaseAuditCount(MedicalSearchQuery medicalSearchQuery);
	
	/**
	 * 出生日期审核 分页
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String, Object>> getApprovalDateBirthPage(MedicalSearchQuery medicalSearchQuery);
	
	/**
	 * 出生日期审核 总记录数
	 * @param medicalSearchQuery
	 * @return
	 */
	long getApprovalDateBirthCount(MedicalSearchQuery medicalSearchQuery);
	
	/**
	 * 住院费用审核 分页
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String, Object>> getHospitalFeesAuditPage(MedicalSearchQuery medicalSearchQuery);
	/**
	 * 导出住院费用审核 分页
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String, Object>> exportInHospitalMoneyauditToExcel(MedicalSearchQuery medicalSearchQuery);
	/**
	 * 住院费用审核 总记录数
	 * @param medicalSearchQuery
	 * @return
	 */
	long getHospitalFeesAuditCount(MedicalSearchQuery medicalSearchQuery);

	/**
	 * 导出出生日期到excel
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String, Object>> exportDateofbirthAuditToExcel(MedicalSearchQuery medicalSearchQuery);

	/**
	 * 导出病案返修查询到excel
	 * @param medicalSearchQuery
	 * @return
	 */
	List<Map<String, Object>> exportMedFileReworkToExcel(MedicalSearchQuery medicalSearchQuery);
	
	/**
	 * 根据出院时间查询firstGuid集合信息
	 * @return
	 */
	List<String> getFirstGuidsByOutHospTime(AuditQuery auditQuery);
	
	List<String> ajaxQualityEvaluationPage(MedRecordQuery medRecordQuery);
	
	
}
